package com.dyna.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhoucaiwang
 * @date 2024/5/12
 */
@Data
@ApiModel(value = "es分组数据响应体")
public class GroupResp {

    @ApiModelProperty(value = "分组名称")
    private String keyAsString;

    @ApiModelProperty(value = "分组中的数量")
    private Long docCount;

    @ApiModelProperty(value = "每组中最大值")
    private Double maxScore;

    @ApiModelProperty(value = "每组中最小值")
    private Double minScore;

}
